// 引入info组件样式
import './info.css';
import {getData} from 'api/getData';
import {URL} from '../../config';
import render from './info.art';
const info=document.getElementById('info');

getData(URL).then((data)=>{
    info.innerHTML=render({item:data});
})